#ifndef __SCNS_BH1750_H__
#define __SCNS_BH1750_H__

#include "ScnsConfig.h"

#if (defined(SCNS_BH1750_ENABLE)&&SCNS_BH1750_ENABLE==1)||(defined(SCNS_BH1750_VIRTUAL_ENABLE)&&SCNS_BH1750_VIRTUAL_ENABLE==1)

#include "ScnsYing.h"
#include "ScnsBspBh1750.h"

typedef struct
{
    volatile float lux;
}ScnsBh1750Result;

extern ScnsBh1750Result scnsBh1750Result[SCNS_BH1750_MAX];

#endif

#if defined(SCNS_BH1750_ENABLE)&&SCNS_BH1750_ENABLE==1
extern ScnsStatus scnsBh1750Init(ScnsBh1750Enum bh1N);
extern void scnsBh1750Interrupt(ScnsBh1750Enum bh1N);

#endif
#endif
